package com.usooft.metaTalent.core.platform.mapper;

import com.usooft.metaTalent.core.platform.entity.Tag;
import com.usooft.metaTalent.core.platform.query.TagQuery;
import com.usooft.metaTalent.core.platform.wrapper.TagWrapper;
import java.lang.Long;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TagMapper {
    int add(Tag tag);

    int update(Tag tag);

    Tag get(Long id);

    List<TagWrapper> list(TagQuery query);

    int count(@Param("filter") TagQuery.Filter filter);
}
